<!--
 * @Author: Aro
 * @Date: 2022-12-10 17:00:29
-->
<template>
  <div id="app">
    <!-- <TimePickerCustom /> -->
    <h2>value1的值{{JSON.stringify(value1)}}</h2>
    <DatePickerCustom type="datetimerange" :value="value1" />

    <h2>value2的值{{JSON.stringify(value2)}}</h2>
    <DatePickerCustom type="datetimerange" v-model="value2" style="width: 320px" />

    <!-- <Date-picker type="datetimerange" placeholder="选择日期和时间" style="width: 300px"></Date-picker> -->
  </div>
</template>

<script>

export default {
  name: 'App',
  components: {
    DatePickerCustom: () => import('./components/date-picker'),
    // TimePickerCustom: () => import('./components/time-picker')
  },
  data() {
    return {
      value1: ['2022-12-08 12:02:02', '2022-12-12 12:10:10'],
      value2: []
    }
  }
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
